<if condition="empty($_GET['token'])">
<section class="app_header">
        <div class="btn"><a id="download" href="{$ios}" data-android="{$android}">立即下载</a></div>
        <div class="logo"><img src="__PUBLIC__/H5asset/images/app_logo.png"/></div>
        <div class="tit">
            <h4>世界之花</h4>
            <p>不出国门 玩转全球</p>
        </div>

        <a hidden href="https://www.trytv.org" title="TYR美剧,美剧资讯,资源下载网站">TRY美剧</a>
</section>


    <script>
            var u = navigator.userAgent;
            var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
            if(isAndroid){
                loadUrl = $('#download').data('android');
                $("#download").attr("href", loadUrl)
            }
    </script>

</if>



